package com.bw.risk.controller;

import cn.hutool.core.util.StrUtil;
import com.bw.core.result.ResponseResult;
import com.bw.core.vo.UserVo;
import com.bw.risk.feginClient.UserFeignService;
import com.bw.risk.pojo.TbRiskOrder;
import com.bw.risk.service.TbRiskOrderService;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

import java.util.List;

@Log4j2
@RestController
@RequestMapping("/riskOrder")
public class RiskOrderContoller {

    @Autowired
    TbRiskOrderService orderService;


    //风控审核表列表
    @GetMapping("/list")
    public List<TbRiskOrder> list(){
        return orderService.list();
    }



}